@using Microsoft.Extensions.Options
@using Lsw.Abp.AspnetCore.Components.Web.AntDesignTheme.Routing
@inject IOptions<AbpRouterOptions> RouterOptions

<Router AppAssembly="RouterOptions.Value.AppAssembly"
        AdditionalAssemblies="RouterOptions.Value.AdditionalAssemblies">
    <Found Context="routeData">
        <RouteView RouteData="@routeData" DefaultLayout="@typeof(DefaultLayout)"/>
    </Found>
    <NotFound>
        <LayoutView Layout="@typeof(DefaultLayout)">
            <p>Sorry, there's nothing at this address.</p>
        </LayoutView>
    </NotFound>
</Router>
<AntContainer/>
